/*
 * Copyright (c) 1997 - 2012 Rakuten, Inc. All Rights Reserved.
 * $Id$
 * Created on 2012/06/08
 */
package com.rakuten.api.mule.model;

/**
 *
 * @author hayatsu
 */
public interface Durability{

	public ItemDuration getDuration();

	public void setDuration(ItemDuration dur);

	/**
	 * Returns true if the duration is <i>not</i> set or if it is live.
	 */
	public boolean isLive(long currentTimeMillis);
}
